﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="acpIncluirFrotaCategoriaCNH.aspx.cs" Inherits="Protegidos_Administracao_Cadastros__popup_acpIncluirFrotaCategoriaCNH" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<%@ Register TagPrefix="uc1" TagName="HeadTag"  Src="~/_includes/HeadTag.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <!-- Includes -->
    <uc1:HeadTag ID="HeadTag1" runat="server" />        
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <telerik:RadProgressManager ID="RadProgressManager1" runat="server" />
        <script type="text/javascript">
            function CloseAndRebind(args)
            {
                GetRadWindow().Close();
                GetRadWindow().BrowserWindow.refreshGrid(args);
            }
    		
            function GetRadWindow()
            {
                var oWindow = null;
                if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;//IE (and Moz as well)
    				
                return oWindow;
            }

            function CancelEdit()
            {
                GetRadWindow().Close();		
            }
        </script>
        
        <table width="99%" align="right">
            <tr id="trTitulo" runat="server">
                <td>
                    <div class="SuTituloVR">Categorias de Habilitação</div>
                </td>
            </tr>
            
            <tr id="trMensagem" runat="server" visible="false">
                <td valign="middle" style="background-color:#FFFFAA; height:33px">
                    &nbsp;&nbsp;<asp:Label ID="lblResultado" runat="server" Text="" Font-Names="Verdana" Font-Size="9"></asp:Label>
                </td>
            </tr>  
            
            <tr>
                <td>
                    <table>
                        <tr id="trCategoria" runat="server">
                            <td style="width: 200px"><span class="textoCZ_12">Categoria:</span></td>
                            <td><asp:TextBox ID="txtCategoria" runat="server" Text="" Font-Names="Verdana" Width="240px" MaxLength="10"></asp:TextBox></td>
                        </tr>
                        <tr id="trDescricao" runat="server">
                            <td style="width: 200px"><span class="textoCZ_12">Descrição:</span></td>
                            <td><asp:TextBox ID="txtDescricao" runat="server" Text="" Font-Names="Verdana" Font-Size="9" Width="240px" Height="100px" MaxLength="1000" TextMode="MultiLine"></asp:TextBox></td>
                        </tr>
                    </table>
                </td>
            </tr>
            
            <tr>
                <td align="right">
                <br />
                    <asp:Button ID="btnGravar" runat="server" Text="Gravar" Width="110px" onclick="btnGravar_Click" />&nbsp;&nbsp;
                    <asp:Button ID="btnFechar" runat="server" Text="Fechar" Width="110px" onclick="btnFechar_Click" />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
